export type TableType = {
    columns: Array<ColumnType>,
    loadData: Function,
    delete?: Function,
    deleteAll?: Function,
    pageConfig?: PageConfig,
    searhParams?: any,
    isSelection?: boolean,
    dialogVisible?: any
    type?:Function,
    state?:Function,
  
  }


  type ColumnType = {
    prop: string,
    label: string,
    slot?: boolean,
    attrs?: any,
    image?: boolean,
    images?: boolean
    state?: boolean,
    enabled?:boolean,
  }
  type PageConfig = {
    psize?: number,
    isShow?: boolean,
    pageSizes?: number[],
  }